Optimal. Leaf size=56 \[ -\frac {25 \tan (c+d x)}{48 d (5 \sec (c+d x)+3)}+\frac {35 \tan ^{-1}\left (\frac {\sin (c+d x)}{\cos (c+d x)+3}\right )}{288 d}+\frac {29 x}{576} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 56, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {3785, 3919, 3831, 2657} \[ -\frac {25 \tan (c+d x)}{48 d (5 \sec (c+d x)+3)}+\frac {35 \tan ^{-1}\left (\frac {\sin (c+d x)}{\cos (c+d x)+3}\right )}{288 d}+\frac {29 x}{576} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2657
Rule 3785
Rule 3831
Rule 3919
Rubi steps
\begin {align*} \int \frac {1}{(3+5 \sec (c+d x))^2} \, dx &=-\frac {25 \tan (c+d x)}{48 d (3+5 \sec (c+d x))}+\frac {1}{48} \int \frac {16+15 \sec (c+d x)}{3+5 \sec (c+d x)} \, dx\\ &=\frac {x}{9}-\frac {25 \tan (c+d x)}{48 d (3+5 \sec (c+d x))}-\frac {35}{144} \int \frac {\sec (c+d x)}{3+5 \sec (c+d x)} \, dx\\ &=\frac {x}{9}-\frac {25 \tan (c+d x)}{48 d (3+5 \sec (c+d x))}-\frac {7}{144} \int \frac {1}{1+\frac {3}{5} \cos (c+d x)} \, dx\\ &=\frac {29 x}{576}+\frac {35 \tan ^{-1}\left (\frac {\sin (c+d x)}{3+\cos (c+d x)}\right )}{288 d}-\frac {25 \tan (c+d x)}{48 d (3+5 \sec (c+d x))}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.17, size = 73, normalized size = 1.30 \[ \frac {160 (c+d x)-150 \sin (c+d x)+96 (c+d x) \cos (c+d x)+35 (3 \cos (c+d x)+5) \tan ^{-1}\left (2 \cot \left (\frac {1}{2} (c+d x)\right )\right )}{288 d (3 \cos (c+d x)+5)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.47, size = 73, normalized size = 1.30 \[ \frac {192 \, d x \cos \left (d x + c\right ) + 320 \, d x + 35 \, {\left (3 \, \cos \left (d x + c\right ) + 5\right )} \arctan \left (\frac {5 \, \cos \left (d x + c\right ) + 3}{4 \, \sin \left (d x + c\right )}\right ) - 300 \, \sin \left (d x + c\right )}{576 \, {\left (3 \, d \cos \left (d x + c\right ) + 5 \, d\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.17, size = 59, normalized size = 1.05 \[ \frac {29 \, d x + 29 \, c - \frac {300 \, \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )}{\tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} + 4} + 70 \, \arctan \left (\frac {\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 3}\right )}{576 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.50, size = 63, normalized size = 1.12 \[ -\frac {25 \tan \left (\frac {d x}{2}+\frac {c}{2}\right )}{48 d \left (\tan ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )+4\right )}-\frac {35 \arctan \left (\frac {\tan \left (\frac {d x}{2}+\frac {c}{2}\right )}{2}\right )}{288 d}+\frac {2 \arctan \left (\tan \left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{9 d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.45, size = 88, normalized size = 1.57 \[ -\frac {\frac {150 \, \sin \left (d x + c\right )}{{\left (\frac {\sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} + 4\right )} {\left (\cos \left (d x + c\right ) + 1\right )}} - 64 \, \arctan \left (\frac {\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1}\right ) + 35 \, \arctan \left (\frac {\sin \left (d x + c\right )}{2 \, {\left (\cos \left (d x + c\right ) + 1\right )}}\right )}{288 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.86, size = 52, normalized size = 0.93 \[ \frac {x}{9}-\frac {\frac {35\,\mathrm {atan}\left (\frac {\mathrm {tan}\left (\frac {c}{2}+\frac {d\,x}{2}\right )}{2}\right )}{288}+\frac {25\,\mathrm {tan}\left (\frac {c}{2}+\frac {d\,x}{2}\right )}{48\,\left ({\mathrm {tan}\left (\frac {c}{2}+\frac {d\,x}{2}\right )}^2+4\right )}}{d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{\left (5 \sec {\left (c + d x \right )} + 3\right )^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________